﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Easy.Operation;

namespace Easy.Web.Pages.PrivilegePages
{
    public partial class RoleInfoPage : System.Web.UI.Page
    {
        public string _roleId = "";
        public RoleClass role = new RoleClass();

        protected void Page_Load(object sender, EventArgs e)
        {
            this.GetParamter();
            if (_roleId != "")
            {
                role = UserPrivilege_Functions.GetRole(_roleId);
            }




        }
        private void GetParamter()
        {
            if (Page.Request["Id"] != null)
            {
                _roleId = Page.Request["Id"];


            }

        }
    }
}